package com.qidianit.mes.pro.service;

import com.github.pagehelper.PageInfo;
import com.qidianit.mes.pojo.Result;
import com.qidianit.mes.pojo.pro.MaterialBom;

/**
 * @Description:
 * @Author: YanJiRan
 * @Date: 2025/9/23 - 上午11:33
 */
public interface MaterialBomService {
    /**
     *
     * @param materialBom
     * @param page
     * @param size
     * @return
     */
    Result<PageInfo<MaterialBom>> selectList(MaterialBom materialBom, int page, int size);

    /**
     *
     * @param materialBom
     * @return
     */
    Result<MaterialBom> saveMaterialBom(MaterialBom materialBom);

    /**
     *
     * @param id
     * @return
     */
    Result<MaterialBom> selectById(Long id);

    /**
     *
     * @param materialBom
     * @return
     */
    Result updateById(MaterialBom materialBom);

    /**
     *
     * @param id
     * @return
     */
    Result deleteById(Long id);

    /**
     *
     * @param ids
     * @return
     */
    Result batchDelete(Long[] ids);
}
